package com.leoblog.test;

import java.util.Date;

import com.leoblog.domain.Entry;

public class EntryMother {
	
	public static Entry newInstance(){
		Entry entry = new Entry();
		
		Long now = System.currentTimeMillis();
		
		entry.setCommentSize(0);
		
		entry.setContent("Enty content test"+now);
		
		entry.setDateCreated(new Date());
		
		entry.setDateModified(new Date());
		
		entry.setHits(0);
		
		entry.setStatus(Entry.Status.PUBLISHED);
		
		entry.setSummary("Entry summary test"+now);
		
		entry.setTitle("Enty title test"+now);
		
		return entry;
	}
	

}
